home *** CD-ROM | disk | FTP | other *** search
- On Aug 2, Daniel Peisach wrote:
-
- |-------------------- text of forwarded message follows --------------------|
-
- if you specify a degenerate flame, (i.e. height zero) you get a warning
- and then a core dump. this should fix it.
-
- also, be aware that the example input files are missing arguments to the
- flame command.
-
- -dan
-
- --------------------
-
- *** flame.c.shipped Tue Aug 2 12:55:52 1994
- --- flame.c Tue Aug 2 12:57:19 1994
- ***************
- *** 40,45 ****
- --- 40,48 ----
- nsurf->noshadow=TRUE;
-
-
- nob=GeomCreate((GeomRef)FlameObjCreate(size,pos,speed,nsurf),FlameMethods()
- );
- +
- + if(!nob) return (Geom *) NULL; /* degenerate problem */
- +
- nob->surf=nsurf;
-
- if (lightswitch)
-
- ----------
- Administrivia: rayshade-users-request@cs.princeton.edu
- Mailing list: rayshade-users@cs.princeton.edu
-
-
- |------------------------- end of forwarded message ------------------------|
-
- --
- Kriton (UUCP: pythia!theseas!kriton!kyrimis)
- (INTERNET: kyrimis@theseas.ntua.gr)
-